<%@ include file="/common/taglibs.jsp" %>
<html lang="en">
<head>
    <meta http-equiv="Cache-Control" content="no-store"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><decorator:title/> | <fmt:message key="webapp.name"/></title>
    <t:assets type="css"/>
    <decorator:head/>
</head>
<body<decorator:getProperty property="body.id" writeEntireProperty="true"/><decorator:getProperty property="body.class"
                                                                                                  writeEntireProperty="true"/>>
<c:set var="currentMenu" scope="request"><decorator:getProperty property="meta.menu"/></c:set>

<div class="header">
    <div class="timestamp">
        <span id="ddate" style="font-family:&#39;San&#39;;font-weight:normal;font-style:normal;"></span>
    </div>
    <div class="project-logo">
        <img class="logo-img" src="<c:url value='/images/logo.png'/>">
    </div>
    <span class="header-title">
        <label><fmt:message key="header.title"/></label>
        <small>console</small>
    </span>
    <div class="header-line">
        <%--<img class="header-line" src="<c:url value='/images/u4.png'/>">--%>
        <img class="header-line header-line-prefix" src="<c:url value='/images/u20.png'/>">
    </div>
    <c:if test="${pageContext.request.remoteUser != null}">
        <div class="site-map col-sm-8 col-sm-offset-2">
            <a href="<c:url value='/home'/>" class="nav-item"><fmt:message key="process.status"/></a>
            <c:if test="${isAdmin == 'true'}">
                <a href="<c:url value='/admin/editUser?method=Add&from=list'/>" class="nav-item"><fmt:message key="user.create"/></a>
                <a href="<c:url value='/admin/users'/>" class="nav-item"><fmt:message key="user.lookup"/></a>
            </c:if>
            <a href="<c:url value='/editProfile'/>" class="nav-item"><fmt:message key="profile.edit"/></a>
            <a href="<c:url value='/logout'/>" class="nav-item"><fmt:message key="user.logout"/></a>
        </div>
    </c:if>
</div>

<div class="container-fluid" style="margin-top:60px">
    <div class="row">
        <decorator:body/>
    </div>
</div>

<div id="footer" class="container-fluid navbar-fixed-bottom" style="height:30px;padding-top:2px">
        <span class="col-sm-6 text-left"><fmt:message key="webapp.version"/>
            <c:if test="${pageContext.request.remoteUser != null}">
                | <fmt:message key="user.status"/> ${pageContext.request.remoteUser}
            </c:if>
        </span>
        <span class="col-sm-6 text-right">
            &copy; <fmt:message key="copyright.year"/> <a href="<fmt:message key="company.url"/>"><fmt:message
                key="company.name"/></a>
        </span>
</div>
<t:assets type="js"/>
<%= (request.getAttribute("scripts") != null) ? request.getAttribute("scripts") : "" %>
</body>
</html>
